package com.enki.cigarettes.utils.qiniu;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author WCS.Wang
 * @version V1.0
 * @Package com.enki.cigarettes.utils.qiniu
 * @Name e-cigarettes-shop-api
 * @Description: TODO 七牛云存储配置
 * @date 2019-07-19
 */
@Component
@ConfigurationProperties(prefix = "qiniu")
public class QiNiuConfig {

    /**
     * 七牛图片仓库名称
     */
    private String bucketname;

    /**
     * 七牛HOST
     */
    private String qiniuimghost;

    /**
     * 七牛ACCESS_KEY
     */
    private String accesskey;

    /**
     * 七牛SECRET_KEY
     */
    private String secretkey;

    private String imghost;

    public String getBucketname() {
        return bucketname;
    }

    public void setBucketname(String bucketname) {
        this.bucketname = bucketname;
    }

    public String getQiniuimghost() {
        return qiniuimghost;
    }

    public void setQiniuimghost(String qiniuimghost) {
        this.qiniuimghost = qiniuimghost;
    }

    public String getAccesskey() {
        return accesskey;
    }

    public void setAccesskey(String accesskey) {
        this.accesskey = accesskey;
    }

    public String getSecretkey() {
        return secretkey;
    }

    public void setSecretkey(String secretkey) {
        this.secretkey = secretkey;
    }

    public String getImghost() {
        return imghost;
    }

    public void setImghost(String imghost) {
        this.imghost = imghost;
    }
}